<extend name="Public:base" />
<block name="main">
{:table_header('友情链接',array('新建'=>''))}
{:search_header()}
    {:b_text('ID','id',$id)}
    {:b_text('名字','%name%',$name)}
{:search_footer()}
          <php>
            function positionName($position){
                 return $position==1?'PC端':'WAP端';
             }
          </php>
         {:table_data($list,"id:ID,link_url:地址,position|positionName:位置,name:名字,id|get_custom_btn:操作")}
         {:table_footer($page)}
</block>